<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 7237 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a class="nav-link" href="/user/login/index.html"> 登录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 7237 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a href='/user/profile/ilnil/index.html'> ilnil </a> </td>
<td> <a href='/problem/1004/index.html'> 1004. 【模板题】高精度乘法 </a> </td>
<td> Accepted </td>
<td> 100 </td>
<td style='font-size:13px'> 1.686 s </td>
<td style='font-size:13px'> 33 MB + 796 KB </td>
<td style='font-size:13px'> C++ </td>
<td style='font-size:13px'> 1.35 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2019-01-16 17:08:56 </td>
<td style='font-size:13px'> 2019-01-19 16:51:49 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include&lt;bits/stdc++.h&gt;
#define fo(i,a,b)for(int i=a,_e=b;i&lt;=_e;i++)
#define fd(i,a,b)for(int i=b,_e=a;i&gt;=_e;i--)
#define ll long long
#define flush()(fwrite(out,1,os-out,stdout),os=out)
#define put(x)(*os++=x,os==ot?flush():0)
#define gc()(it==is?it=(is=in)+fread(in,1,P,stdin),(it==is?EOF:*is++):*is++)
using namespace std;
const int N=1e6+5,M=(1&lt;&lt;21)+1,mo=998244353,P=(1&lt;&lt;21)+1;
char in[P],*is=in,*it=in,out[P],*os=out,*ot=out+P-1,o[20],c;
int n,m,Q;
int a[M],b[M],w[M],h[M],ny;
ll A;
int ksm(int x,int y){
	int t=1;
	for(;y;y&gt;&gt;=1,x=(ll)x*x%mo)if(y&amp;1)t=(ll)t*x%mo;
	return t;
}
void dft(int *a){
	fo(i,1,Q)if(h[i]&gt;i)swap(a[i],a[h[i]]);ll A;
	for(int i=2,m,j,k,g,p,*l,*r;m=i&gt;&gt;1,i&lt;=Q;i&lt;&lt;=1){
		g=ksm(3,(mo-1)/i);w[0]=1;
		for(k=1;k&lt;m;k++)w[k]=(ll)w[k-1]*g%mo;
		for(j=0;j&lt;Q;j+=i){
			l=a+j;r=l+m;
			for(k=0;k&lt;m;l++,r++,k++)A=(ll)w[k]* *r,*r=(-A+*l)%mo,*l=(A+*l)%mo;
		}
	}
}
int main(){
	for(;(c=gc())&lt;=&#x27;9&#x27;&amp;&amp;c&gt;=&#x27;0&#x27;;)a[++n]=c-48;
	for(;(c=gc())&lt;&#x27;0&#x27;||c&gt;&#x27;9&#x27;;);
	for(;b[++m]=c-48,(c=gc())&lt;=&#x27;9&#x27;&amp;&amp;c&gt;=&#x27;0&#x27;;);
	fo(i,0,n&gt;&gt;1)swap(a[i],a[n-i]);
	fo(i,0,m&gt;&gt;1)swap(b[i],b[m-i]);
	for(Q=1;Q&lt;=n+m;Q&lt;&lt;=1);
	ny=ksm(Q,mo-2);
	fo(i,1,Q)h[i]=(h[i&gt;&gt;1]&gt;&gt;1)|(i&amp;1?Q&gt;&gt;1:0);
	dft(a);dft(b);
	fo(i,0,Q)a[i]=(ll)a[i]*b[i]%mo;
	fo(i,1,Q&gt;&gt;1)swap(a[i],a[Q-i]);
	dft(a);
	ll y=0;
	n+=m-2;
	fo(i,0,n){
		a[i]=(ll)(a[i]+mo)*ny%mo+y;
		y=a[i]/10;
		a[i]=a[i]%10;
	}
	if(y)a[++n]=y;
	fd(i,0,n)put(a[i]+48);
	flush();
}</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">1.686 s</td><td class="col-xs-2" style="vertical-align:middle">33 MB + 796 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 100</td><td class="col-xs-2" style="vertical-align:middle"><a class="nav-link" href="/index/index.html"> 首页 </a>
<a id="ad487133dc3549d5954d7c89042c5b64" href="http://www.iis7.com"  style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;" class="ad487133dc3549d5954d7c89042c5b64" target="_blank" >iis7站长之家</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1686.339637
mem_kb = 34588
Correct Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:12:38 | Loaded in 4 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
